<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>何同学开场动画</title>
    <link rel="stylesheet" href="./css/heTongXue.css">
    <!-- https://www.bilibili.com/video/BV17y4y1y7Aw/ -->
</head>
<body>
    <div class="container">
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3"></div>
            <div class="x4"></div>
            <div class="x5"></div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3"></div>
            <div class="x4"></div>
            <div class="x5"></div>
        </div>
        <div class="item">
            <div class="x1">大</div>
            <div class="x2">大</div>
            <div class="x3">大</div>
            <div class="x4">大</div>
            <div class="x5">大</div>
        </div>
        <div class="item">
            <div class="x1">家</div>
            <div class="x2">家</div>
            <div class="x3">家</div>
            <div class="x4">家</div>
            <div class="x5">家</div>
        </div>
        <div class="item">
            <div class="x1">好</div>
            <div class="x2">好</div>
            <div class="x3">好</div>
            <div class="x4">好</div>
            <div class="x5">好</div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2">我</div>
            <div class="x3">我</div>
            <div class="x4">我</div>
            <div class="x5">我</div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3">叫</div>
            <div class="x4">叫</div>
            <div class="x5">叫</div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3"></div>
            <div class="x4">李</div>
            <div class="x5">李</div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3"></div>
            <div class="x4"></div>
            <div class="x5">广</div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3"></div>
            <div class="x4"></div>
            <div class="x5">元</div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3"></div>
            <div class="x4"></div>
            <div class="x5"></div>
        </div>
        <div class="item">
            <div class="x1"></div>
            <div class="x2"></div>
            <div class="x3"></div>
            <div class="x4"></div>
            <div class="x5"></div>
        </div>
    </div>
    <script src="./js/jquery-3.5.1/jquery-3.5.1.js"></script>
    <script>
        $('.item').each(function(){
            let index = $(this).index();
            let start = 2.8;
            $(this).find('.x5').css('animation-delay',start + index/10 + 's')
        })
    </script>
</body>
</html>